package com.woniu.shop.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门店服务表
 * </p>
 *
 * @author LiFangyu
 * @since 2023-02-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_store_service")
@ApiModel(value="StoreService对象", description="门店服务表")
public class StoreService implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "服务ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "门店ID")
    private String shopId;

    @ApiModelProperty(value = "服务名称")
    private String serviceName;

    @ApiModelProperty(value = "图片地址")
    private String servicePicture;

    @ApiModelProperty(value = "价格")
    private BigDecimal serviceAmount;

    @ApiModelProperty(value = "星级")
    private BigDecimal serviceStar;

    @ApiModelProperty(value = "服务内容")
    private String serviceContent;

    @ApiModelProperty(value = "服务类型ID")
    private String serviceTypeId;

    @ApiModelProperty(value = "购买须知")
    private String serviceNotice;

    @ApiModelProperty(value = "服务状态 0:未发布 1:发布 2:草稿")
    private String serviceStatus;

    @ApiModelProperty(value = "逻辑删除;0:正常 1:删除")
    @TableLogic
    private String isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;


}
